package com.ruoyi.data.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 金豆记录对象 data_gold
 *
 * @author zzp
 * @date 2022-09-30
 */
public class DataGold extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long deptId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名")
    private String nickName;

    /**
     * 金豆
     */
    @Excel(name = "金豆")
    private Integer gold;

    /**
     * 当前金豆
     */
    @Excel(name = "当前金豆")
    private Integer goldCurrent;

    /**
     * 金豆类型
     */
    @Excel(name = "金豆类型")
    private String goldType;

    /**
     * 金豆描述
     */
    @Excel(name = "金豆描述")
    private String goldDesc;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setGold(Integer gold) {
        this.gold = gold;
    }

    public Integer getGold() {
        return gold;
    }

    public void setGoldCurrent(Integer goldCurrent) {
        this.goldCurrent = goldCurrent;
    }

    public Integer getGoldCurrent() {
        return goldCurrent;
    }

    public void setGoldType(String goldType) {
        this.goldType = goldType;
    }

    public String getGoldType() {
        return goldType;
    }

    public void setGoldDesc(String goldDesc) {
        this.goldDesc = goldDesc;
    }

    public String getGoldDesc() {
        return goldDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("userId", getUserId())
                .append("nickName", getNickName())
                .append("gold", getGold())
                .append("goldCurrent", getGoldCurrent())
                .append("goldType", getGoldType())
                .append("goldDesc", getGoldDesc())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
